﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Top.Api.Entity
{
   public class Token
    {
//       {
//  "taobao_user_id": "640682794",
//  "taobao_user_nick": "xiumeiyinxiang",
//  "w1_expires_in": 86400,
//  "w2_expires_in": 1800,
//  "r1_expires_in": 86400,
//  "r2_expires_in": 86400,
//  "expires_in": 86400,
//  "re_expires_in": 86400,
//  "token_type": "Bearer",
//  "refresh_token": "6202613da1c1180decd9dfh66102c406428ad497f9700a9640682794",
//  "access_token": "6201313ba37ff28fbb87bdfdaae83d27f976ec256ead09a640682794"
//}

        public string access_token { get; set; }

        /// <summary>
        /// Access Token的有效期，以秒为单位。
        /// </summary>
        public string expires_in { get; set; }

        /// <summary>
        /// 获取到的刷新token。
        /// </summary>
        public string refresh_token { get; set; }
        /// <summary>
        ///用户帐户名
        /// </summary>
        public string name { get; set; }
    }
}
